<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <ul>
            <!-- 
                v-for 指令
                item 名字随便写 （不能123）
             -->
            <li v-for="(item, index) in list">{{item}}:{{index}}</li>
        </ul>
    </div>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.14/vue.js"></script>
    <script>
        const app = new Vue({
            el: "#app",
            data: {
                list: ["小明", "令狐冲", "东方不败", 4, 5, 6]
                // student: {
                //     name: "小明",
                //     age: 20,
                //     score: 100
                // }
                // str: "helloworld"
            }
        })

    </script>
</body>
</html>